<div class="top-right-info">
<?php
if(!Yii::app()->user->isGuest){
	echo '<hint> Xin chào '. UserUtils::getLoginDisplayUserName(). ',</hint> ';
	
		echo '<hint> Credit: ';
		$credit = Credit::model()->findByAttributes(array('iduser'=>Yii::app()->user->getId()->id));
		if( $credit != null){			
			echo  $credit->sodu;
		}else{
			echo '0';
		}
		echo  '</hint>';
	
}
?>

</div>